-
Home
-
Shield Security – Smart Bot Blocking & Intrusion Prevention Security
-
19.1.9
-
Code
-
Classes
- ApiTokenManager
Total Complexity |
26 |
Dependencies |
3 |
Dependents |
2 |
Total lines |
126 |
Lines of code |
89 |
Logical lines of code |
37 |
Comment lines |
14 |
Methods |
14 |
Properties |
1 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getToken() |
S |
52 |
6 |
25 |
run() |
S |
61 |
3 |
14 |
canRequestNewToken() |
S |
69 |
3 |
7 |
loadToken() |
S |
62 |
2 |
11 |
hasToken() |
S |
77 |
2 |
3 |
storeToken() |
S |
74 |
2 |
4 |
getCanRequestOverride() |
S |
82 |
1 |
3 |
getExpiresAt() |
S |
80 |
1 |
3 |
getNextAttemptAllowedFrom() |
S |
80 |
1 |
3 |
getPreviousAttemptAt() |
S |
80 |
1 |
3 |
isExpired() |
S |
80 |
1 |
3 |
isNearlyExpired() |
S |
79 |
1 |
3 |
clearToken() |
S |
81 |
1 |
3 |
setCanRequestOverride() |
S |
77 |
1 |
4 |